public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: swagiaal@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: swagiaal: fixed testFindFirstElfSymbols(frysk.debuginfo.TestObjectDeclarationSearchEngine)
Date: Thu, 15 May 2008 19:00:00 -0000	[thread overview]
Message-ID: <20080515190014.746.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2008-05-15 19:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080515190014.746.qmail@sourceware.org \
    --to=swagiaal@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).