opencore regression test -logfile and other options

by iod » Mon, 10 May 2010 23:53:45 GMT


Sponsored Links
 Hi Community,
I'm trying to regression-test opencore's pvplayer_engine_test
executable; that is, running some of the available tests and
outputting the maximum amount of reproduceable information (Avoiding
Time and Memory Addresses in the output.) so that I can "diff" the
output of two runs. The goal is to automatically check that nothing
was broken from one run to the other.

1. What are the best available options for that purpose?
2. I need to output the result to a file and "-logfile myfile" does
not seem to work: "myfile" does not get created. Am I using the wrong
syntax?

Thank you for helping
--
iod

-- 



Other Threads

1. Padding Not Working in XML but does in Java

Hi,

This is a strange issue and I can't seem to figure out why it is
happening. I have a set of ImageButtons in my xml Layout (inside of a
Table/Row) which require padding. Here is a sample button:

[code]
        <ImageButton android:id="@+id/icon1" />
[/code]

I attempt to add padding to all 4 edges, like so:

[code]
        <ImageButton android:id="@+id/icon1"  android:padding="5sp" />
[/code]

But it doesn't work. BUT, if I add the padding to the button
dynamically in the source, it does work. Like so:

[code]
        button.setPadding(5, 2, 5, 2);
[/code]

Any ideas what is going on here? This is killing me because the last
thing I want to do is have the padding configured in the source, then
it would have to be the same for each layout or I would have to add
overhead into the code...

As always, thanks for the help,

Kevin
--~--~---------~--~----~------------~-------~--~----~

2. BouncyCastle PKCS12 - dead?

Program fragment that works as expected in J2SE with both BC and SUN
JCE providers:

    public static void main (String arg[]) throws Exception
      {
        KeyStore store = KeyStore.getInstance("PKCS12");
        store.load (new FileInputStream (new File (arg[0])),
arg[1].toCharArray ());
      }


Tested in Android:

dalvikvm -cp app/com.example.android.lunarlander.apk
com.example.android.lunarla
nder.LunarLander android.p12 test
java.io.IOException: exception unwrapping private key -
java.security.NoSuchAlgo
rithmException: SecretKeyFactory 1.2.840.113549.1.12.1.3
implementation not foun
d
        at
org.bouncycastle.jce.provider.JDKPKCS12KeyStore.unwrapKey(JDKPKCS12Ke
yStore.java:582)
        at
org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS12K
eyStore.java:841)
        at java.security.KeyStore.load(KeyStore.java:456)
        at
com.example.android.lunarlander.LunarLander.main(LunarLander.java:241
)
        at dalvik.system.NativeStart.main(Native Method)
#

Sorry for clobbering the LunarLander sample but it is really cool
using command-line sometimes :-)

Anders
--~--~---------~--~----~------------~-------~--~----~

3. Loading application to actual device through Eclipse?

4. how to port android to my cingular 8525

5. android.net.http.AndroidHttpClient vs

6. Problems Testing an Installation...

7. Determining size of SD Card?