instrumentation Questions
2
I have a class that creates (or opens) a file to write some data to it. This class receives a Context in the constructor, saves it in an instance field, and then uses it to call the context.openFil...
Burrill asked 28/3, 2014 at 13:45
5
this is regarding Espresso. I am successfully running integration test on a simulator. I think some tests are failing because it's running too fast. Is there a way to slowdown the execution/playbac...
Leopold asked 23/3, 2016 at 0:54
0
I get:
Test run failed to complete. Instrumentation run failed due to Process crashed.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':renetik-android-pres...
Junco asked 22/4, 2023 at 14:50
4
I am trying to find a way for my instrumentation tests to have access to string resources generated within the test package.
More details:
I have an Android test case which inherits from Activit...
Memberg asked 7/3, 2011 at 6:21
5
Solved
I am working on sonar code coverage using Jacoco plugin and using power mock mockito combination to write JUnit test cases, while all goes well with the build when I run mvn clean install but the c...
Maurilia asked 8/8, 2017 at 6:8
4
What I understand is that if I use:
Instrumentation#getAllLoadedClasses()
I do get a selection of all loaded classes by the target JVM. But If I do:
Class.forName("my.class.name")
This will no...
Teetotalism asked 2/10, 2017 at 9:38
0
How do you get instrumentation performance data from an ASP.NET Core web app using VS 2022 tools?
We now an app with an ASP.NET Core Web API and MVC app pair. These run locally under IIS Express an...
Scenarist asked 21/4, 2022 at 23:36
2
Solved
Let's say I have a function like:
template<typename It, typename Cmp>
void mysort( It begin, It end, Cmp cmp )
{
std::sort( begin, end, cmp );
}
When I compile this using -finstrument-funct...
Nocuous asked 20/7, 2020 at 16:58
2
Solved
Getting error on instrumentation
java.lang.RuntimeException: java.lang.ClassNotFoundException: Deposit
at org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source)
at org.objectweb.asm.C...
Price asked 2/7, 2012 at 11:25
8
Solved
Is there a runtime check for an application to find out if it runs as part of an instrumentation test?
Background: Our application performs a database sync when starting. But that should happen on...
Aileen asked 21/7, 2011 at 13:18
5
I am developing in Android, I am using instrumentation to test Phone application.
Instrumentation is Android env to test applications.
For that I use am command with name of test case.
I run ad...
Exhibition asked 12/7, 2010 at 11:54
1
Let's say your app has a class Foo, and you are using this class on your app and your instrumentation code.
But this class becomes obfuscated in the app APK, so your instrumentation code loses th...
Conciliatory asked 12/3, 2018 at 22:14
2
I am trying to do a coverage per test using gradle+jacoco.
Idea is to have an implementation of org.gradle.api.tasks.testing.TestListener, and reset session-id at regular events (test start and tes...
Crusty asked 17/10, 2020 at 12:17
2
Solved
I have a class mapped with a table, in my case in a declarative way, and I want to "discover" table properties, columns, names, relations, from this class:
engine = create_engine('sqlite:///' + da...
Weiland asked 14/3, 2010 at 10:11
2
Solved
As explained here
Gunicorn provides an optional instrumentation of the arbiter and workers using the statsD protocol over UDP.
My question: Is there any way to read number of active (i.e. processi...
Forestry asked 26/8, 2018 at 10:7
2
Solved
I made a Java agent which is attached to a JVM during runtime and instruments all the loaded project classes and inserts some logging statements. There are 11k classes in total. I measured the tota...
Iow asked 4/7, 2020 at 16:4
3
Solved
Some time ago, I asked in Embed the existing code of a method in a try-finally block how to wrap the body of a method in a try-finally block using ASM.
The solution was to visit a label for the try...
Comprador asked 9/2, 2015 at 17:40
4
Solved
My current setup involves a Node.js web application using Express.js.
I am using DataDog's dd-tracer to measure the time Node.js spends for particular method invocations as part of my APM solution....
Fontes asked 27/5, 2020 at 11:42
6
Solved
I'm trying to Instrument an ASP.NET web-application with Visual Studio 2012, .NET 4.
The solution contains a web-application and a class library.
The problem is I can't see step into the class libr...
Condorcet asked 1/8, 2013 at 12:0
2
Solved
We're using Dapper and EF in our shop, and Dapper proofed to be extremely helpful in debugging queries in SQL server when something went wrong. Instead of just submitting raw SQL, we created a thin...
Maleeny asked 6/2, 2014 at 14:53
4
Solved
My Spring-Boot application simply has a counter metric. I just don't know how to send this information to Prometheus. I am using Maven (build tool) and Spring Boot (Java).
Jubbulpore asked 29/11, 2017 at 18:22
4
Solved
I am trying to instrument java byte code.
I want to recognize the entry and exit of a java loop, but I have found the identification of loops to be quite challenging.
I have spent a good few hours...
Tips asked 22/7, 2011 at 15:28
1
Solved
when I run my instrumentation tests against the debug version of my app, leak canary will block the UI thread and cause the instrumentation test to fail. I had to revert to the old version. Is ther...
Goles asked 12/9, 2019 at 23:51
1
Solved
When trying to inject a class which is in the java.lang namespace via java.lang.instrument.Instrumentation#appendToBootstrapClassLoaderSearch on a OpenJDK 11, nothing happens and no error is thrown...
Wyattwyche asked 11/8, 2019 at 15:47
2
Solved
I keep getting the bellow exception from some users:
java.lang.NullPointerException
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1414)
at android.app.Activity.startActiv...
Laurynlausanne asked 9/7, 2013 at 13:10
1 Next >
© 2022 - 2025 — McMap. All rights reserved.