public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: swagiaal: fixed testFindFirstElfSymbols(frysk.debuginfo.TestObjectDeclarationSearchEngine)
@ 2008-05-15 19:00 swagiaal
  0 siblings, 0 replies; only message in thread
From: swagiaal @ 2008-05-15 19:00 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  68fefadcd7878a491927faf628081163af926bd0 (commit)
      from  81003a670512fe3159da26fbe8a316ab8c9d5fc5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 68fefadcd7878a491927faf628081163af926bd0
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date:   Thu May 15 14:58:47 2008 -0400

    swagiaal: fixed testFindFirstElfSymbols(frysk.debuginfo.TestObjectDeclarationSearchEngine)
    
    frysk-core/frysk/debuginfo/ChangeLog
    +2008-05-15  Sami Wagiaalla  <swagiaal@redhat.com>
    +
    +	* TestObjectDeclarationSearchEngine.java
    +	(verifyVariableByValue): now checks that the value
    +	string is present not matched.
    +

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/debuginfo/ChangeLog               |    6 ++++++
 .../TestObjectDeclarationSearchEngine.java         |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/debuginfo/ChangeLog b/frysk-core/frysk/debuginfo/ChangeLog
index 55f79d4..93715b6 100644
--- a/frysk-core/frysk/debuginfo/ChangeLog
+++ b/frysk-core/frysk/debuginfo/ChangeLog
@@ -1,5 +1,11 @@
 2008-05-15  Sami Wagiaalla  <swagiaal@redhat.com>
 
+	* TestObjectDeclarationSearchEngine.java 
+	(verifyVariableByValue): now checks that the value
+	string is present not matched. 
+
+2008-05-15  Sami Wagiaalla  <swagiaal@redhat.com>
+
 	* ObjectDeclarationSearchEngine.java (getObject): 
 	Now returns a list.
 	* TestObjectDeclarationSearchEngineTopDown.java: Updated.
diff --git a/frysk-core/frysk/debuginfo/TestObjectDeclarationSearchEngine.java b/frysk-core/frysk/debuginfo/TestObjectDeclarationSearchEngine.java
index 1fbbd24..bd08e49 100644
--- a/frysk-core/frysk/debuginfo/TestObjectDeclarationSearchEngine.java
+++ b/frysk-core/frysk/debuginfo/TestObjectDeclarationSearchEngine.java
@@ -152,7 +152,7 @@ public class TestObjectDeclarationSearchEngine extends TestLib{
     public void testFindFirstElfSymbols(){
 	String variableName = "first"; 
 	String fileName = "funit-elf-symbols";
-	String valueString = "{12,34,56,78}";
+	String valueString = "12,34,56,78";
 	
 	verifyVariableByValue(variableName, valueString, fileName);
 	
@@ -236,7 +236,7 @@ public class TestObjectDeclarationSearchEngine extends TestLib{
 
 	assertNotNull("Variable found", objectDeclaration);
 	assertEquals("Correct name", variableName, objectDeclaration.getName() );
-	assertEquals("Variable value", valueString, objectDeclaration.getValue(frame).toPrint());
+	assertTrue("Variable value", objectDeclaration.getValue(frame).toPrint().contains(valueString));
 	
 	//Negative test:
 	try {


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-15 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-15 19:00 [SCM] master: swagiaal: fixed testFindFirstElfSymbols(frysk.debuginfo.TestObjectDeclarationSearchEngine) swagiaal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).