Java Doc for InstrumentationTest.java in » IDE-Netbeans » cvsclient » org » netbeans » lib » profiler » tests » jfluid » perf » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
IDE Netbeans
»
cvsclient
»
org.netbeans.lib.profiler.tests.jfluid.perf
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.netbeans.lib.profiler.tests.jfluid
.CommonProfilerTestCase
org.netbeans.lib.profiler.tests.jfluid.perf
.InstrumentationTest
InstrumentationTest
public
class InstrumentationTest extends
CommonProfilerTestCase
implements NbPerformanceTest
(Code)
author:
ehucka
Field Summary
String
[]
classNames
byte[][]
classesBytes
ArrayList
<NbPerformanceTest.PerformanceData>
data
ProfilerEngineSettings
settings
Constructor Summary
public
InstrumentationTest
(
String
testName)
Method Summary
protected
boolean
checkBytes
(
String
className, byte[] bytes)
public
NbPerformanceTest.PerformanceData[]
getPerformanceData
()
protected
ProfilerEngineSettings
initTest
(
String
pathToJar)
public
void
reportPerformance
(
String
name, long value,
String
unit)
protected
void
setClasses
(
String
jarPath)
protected
void
setRootMethods
(
String
jarFile)
protected
void
startInstrumentationTest
(
String
jarFile)
public
static Test
suite
()
public
void
testJ2SE
()
public
void
testJaxb
()
public
void
testJaxbNoGettersEmpties
()
public
void
testSimple
()
public
void
testSimpleNoEmpties
()
public
void
testSimpleNoGetters
()
Field Detail
classNames
String
[] classNames
(Code)
classesBytes
byte[][] classesBytes
(Code)
data
ArrayList
<NbPerformanceTest.PerformanceData> data
(Code)
settings
ProfilerEngineSettings
settings
(Code)
Constructor Detail
InstrumentationTest
public
InstrumentationTest(
String
testName)
(Code)
Method Detail
checkBytes
protected
boolean checkBytes(
String
className, byte[] bytes)
(Code)
getPerformanceData
public
NbPerformanceTest.PerformanceData[] getPerformanceData()
(Code)
initTest
protected
ProfilerEngineSettings
initTest(
String
pathToJar) throws
Exception
(Code)
reportPerformance
public
void reportPerformance(
String
name, long value,
String
unit)
(Code)
setClasses
protected
void setClasses(
String
jarPath) throws
Exception
(Code)
setRootMethods
protected
void setRootMethods(
String
jarFile) throws
Exception
(Code)
startInstrumentationTest
protected
void startInstrumentationTest(
String
jarFile) throws
Exception
(Code)
suite
public
static Test suite()
(Code)
testJ2SE
public
void testJ2SE()
(Code)
testJaxb
public
void testJaxb()
(Code)
testJaxbNoGettersEmpties
public
void testJaxbNoGettersEmpties()
(Code)
testSimple
public
void testSimple()
(Code)
testSimpleNoEmpties
public
void testSimpleNoEmpties()
(Code)
testSimpleNoGetters
public
void testSimpleNoGetters()
(Code)
Fields inherited from
org.netbeans.lib.profiler.tests.jfluid.CommonProfilerTestCase
final
public
static int STATUS_APP_FINISHED
(Code)
(Java Doc)
final
public
static int STATUS_ERROR
(Code)
(Java Doc)
final
public
static int STATUS_FINISHED
(Code)
(Java Doc)
final
public
static int STATUS_LIVERESULTS_AVAILABLE
(Code)
(Java Doc)
final
public
static int STATUS_MEASURED
(Code)
(Java Doc)
final
public
static int STATUS_NONE
(Code)
(Java Doc)
final
public
static int STATUS_RESULTS_AVAILABLE
(Code)
(Java Doc)
final
public
static int STATUS_RUNNING
(Code)
(Java Doc)
protected
File
diff
(Code)
(Java Doc)
protected
DumpStream
err
(Code)
(Java Doc)
protected
DumpStream
out
(Code)
(Java Doc)
protected
Process
profilingProcess
(Code)
(Java Doc)
protected
File
ref
(Code)
(Java Doc)
Methods inherited from
org.netbeans.lib.profiler.tests.jfluid.CommonProfilerTestCase
protected
void addJVMArgs(
ProfilerEngineSettings
settings,
String
arg)
(Code)
(Java Doc)
protected
void bindStreams(
Process
p)
(Code)
(Java Doc)
protected
String
complete(
String
s, int chars)
(Code)
(Java Doc)
protected
void finalizeTest(
TargetAppRunner
runner)
(Code)
(Java Doc)
protected
PrintStream
getLogStream()
(Code)
(Java Doc)
public
String
getMainClass()
(Code)
(Java Doc)
public
String
getProjectName()
(Code)
(Java Doc)
protected
String
getProjectPath(
String
projectName)
(Code)
(Java Doc)
protected
PrintStream
getRefStream()
(Code)
(Java Doc)
public
String
[][] getRootMethods()
(Code)
(Java Doc)
public
int getStatus()
(Code)
(Java Doc)
public
String
getStatus(int status)
(Code)
(Java Doc)
protected
void initAppByStream(
TargetAppRunner
runner)
(Code)
(Java Doc)
protected
ProfilerEngineSettings
initTest(
String
projectName,
String
mainClass,
String
[][] rootMethods)
(Code)
(Java Doc)
public
boolean isStatus(int status)
(Code)
(Java Doc)
public
void log(
Throwable
t)
(Code)
(Java Doc)
public
void log(
String
s)
(Code)
(Java Doc)
public
void log(
Object
o)
(Code)
(Java Doc)
public
void log(double[] ar)
(Code)
(Java Doc)
public
void log(int[] ar)
(Code)
(Java Doc)
public
void log(
HashMap
map)
(Code)
(Java Doc)
public
void log(
ProfilerEngineSettings
settings)
(Code)
(Java Doc)
public
void ref(
String
s)
(Code)
(Java Doc)
public
void ref(
String
[] s)
(Code)
(Java Doc)
public
void ref(
Object
o)
(Code)
(Java Doc)
public
void runTest() throws
Throwable
(Code)
(Java Doc)
protected
void setClassPath(
ProfilerEngineSettings
settings)
(Code)
(Java Doc)
public
void setMainClass(
String
mainClass)
(Code)
(Java Doc)
protected
void setProfilerHome(
ProfilerEngineSettings
settings)
(Code)
(Java Doc)
public
void setProjectName(
String
projectName)
(Code)
(Java Doc)
public
void setRootMethods(
String
[][] rootMethods)
(Code)
(Java Doc)
protected
void setRootMethods(
ProfilerEngineSettings
settings,
String
[][] rootMethods)
(Code)
(Java Doc)
public
synchronized void setStatus(int status)
(Code)
(Java Doc)
protected
void setTargetVM(
ProfilerEngineSettings
settings)
(Code)
(Java Doc)
protected
void setUp() throws
Exception
(Code)
(Java Doc)
protected
Process
startTargetVM(
TargetAppRunner
runner)
(Code)
(Java Doc)
protected
void storeSettings(
ProfilerEngineSettings
settings,
HashMap
map)
(Code)
(Java Doc)
protected
void tearDown() throws
Exception
(Code)
(Java Doc)
protected
String
toString(
String
[] array)
(Code)
(Java Doc)
protected
String
toString(int[] array)
(Code)
(Java Doc)
public
synchronized void unsetStatus(int status)
(Code)
(Java Doc)
public
void waitForStatus(int status)
(Code)
(Java Doc)
public
synchronized void waitForStatus(int status, long timeout)
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.