This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52157 - [DevRev] Provide tests for data values stored into VCS Cache
Summary: [DevRev] Provide tests for data values stored into VCS Cache
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks: 43637
  Show dependency tree
 
Reported: 2004-12-07 13:56 UTC by Miloslav Metelka
Modified: 2006-03-24 12:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test of storage of data provided by VCS commands. (2.21 KB, text/plain)
2004-12-13 14:32 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2004-12-07 13:56:45 UTC
This is a TCR from the final review of the VCS
Cache (tracked by issue 43637).
The new cache implementation imposes additional
constraints on the textual data being stored into
it that should be documented and tested.
 The reviewers believe that this is important
because not doing so could lead to regressions as
the original cache implementation did not have
these constraints.
 The new VCS Cache should not be integrated until
this issue gets resolved.
Comment 1 Martin Entlicher 2004-12-08 09:52:51 UTC
Well, there are no additional constraints that were not in the
original implementation. But I agree that having tests verifying the
correct behavior when various data are provided would be good.
Comment 2 _ pkuzel 2004-12-13 13:45:54 UTC
Mmrtine could you please link use case scripts, please. I'll code them.
Comment 3 Martin Entlicher 2004-12-13 14:32:04 UTC
Created attachment 19257 [details]
Test of storage of data provided by VCS commands.
Comment 4 _ pkuzel 2004-12-16 11:02:14 UTC
Checking in vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v 
<--  VcsFileSystem.java
new revision: 1.288.2.36; previous revision: 1.288.2.35
done
Processing log script arguments...
More commits to come...
Checking in vcscore/src/org/netbeans/modules/vcscore/turbo/TurboUtil.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/turbo/Attic/TurboUtil.java,v
 <--  TurboUtil.java
new revision: 1.8.2.38; previous revision: 1.8.2.37
done
Processing log script arguments...
More commits to come...
Checking in
vcscore/test/unit/src/org/netbeans/modules/vcscore/turbo/TurboUtilTest.java;
/cvs/vcscore/test/unit/src/org/netbeans/modules/vcscore/turbo/Attic/TurboUtilTest.java,v
 <--  TurboUtilTest.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
done
Checking in
vcscore/test/unit/src/org/netbeans/modules/vcscore/turbo/registration.xml;
/cvs/vcscore/test/unit/src/org/netbeans/modules/vcscore/turbo/Attic/registration.xml,v
 <--  registration.xml
new revision: 1.1.2.2; previous revision: 1.1.2.1


FIXED the script is implemented and passed.

It'll probably require xtest hacking to make it run from build.xml.
It's cross module test. XMLFS registration.xml static relative paths
"../../../.." are too context sensistive,
Comment 5 Peter Pis 2005-04-08 12:30:23 UTC
Please, can you verify this issue? Thanks.
Comment 6 Miloslav Metelka 2005-04-13 13:00:47 UTC
Verified.