Download List

프로젝트 설명

Hammock is a mock object framework for J2ME
devices. It is used in conjunction with unit test
frameworks like JMUnit and J2MEUnit. The framework
includes mocks for many of the J2ME UI and I/O
classes as well as a utility, HammockMaker, for
generating mocks of other classes.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2009-06-10 17:52
2.1

이클립스 플러그인이 추가되었습니다, 그것을 간단하게 이클립스 IDE에서 모의 개체를 만들려면 만들고있어. 버그가 수정되었습니다; 지금 모의 정적 내부 클래스이 가능합니다.
Tags: Minor feature enhancements
An Eclipse plug-in has been added, making it simpler to create mock objects in the Eclipse IDE. A bug has been fixed; it is now possible to mock static inner classes.

2009-02-24 16:29
2.0

이 릴리스 버전 1.6의 중요한 코드를 정리합니다. 9 클래스가 제거되었습니다. 유지 수업도 훨씬 더 많은 방법을 설명하는 이름을 부여하고 또는 아예 제거와 refactored되었습니다. 스파이 개체에 대한 지원과 세 개의 새로운 클래스 추가 개선되었습니다. 전체 코어 클래스의 수를 27에서 21 시간으로 단축되었습니다. 2.0 버전 1.6에서 변경 사항이 다수 있기 때문에, 해먹 2.0 새 프로젝트에만 권장됩니다.
Tags: Code cleanup
This release is a significant code cleanup of version 1.6. Nine classes have been removed. The retained classes have also been significantly refactored with methods being given more descriptive names or removed altogether. Support for spy objects has been improved with three new classes added. Overall the number of core classes has been reduced from 27 to 21. Because of the large number of changes from version 1.6 to 2.0, Hammock 2.0 is recommended only for new projects.

2009-02-02 19:42
1.6

이 릴리스의 스파이 객체에 대한 더 나은 지원을 추가합니다. 누가 배열 법을 선호하는 개발자 - Assert (AAA 등급) 관용구 기록 - 및 - 재생의 새로운 코딩 스타일을 간첩에 의해 지원되는 객체를 사용하려는있습니다.
Tags: Minor feature enhancements
This release adds better support for spy objects.
Developers who prefer the Arrange-Act-Assert (AAA)
idiom to record-and-replay may like to use the new
coding style supported by the spy objects.

2009-01-05 23:04
1.5

새 메서드를 호출 처리기가 적은 코드가 필요 상용구에 추가되었습니다 구체적인 클래스의 망신시켰습니다에 대한 기대를 설정 CompositeHandler 클래스를보다. 사용자 안내서 33 페이지에서 20 페이지로 손질되어있다. 참조 가이드 릴리스에 추가되었습니다. 예제 빌드의 일부로 테스트를 실행하기위한 최근의 JMUnit 1.2 개미 작업을 사용할 수있습니다.
Tags: Minor feature enhancements
A new method invocation handler was added, which
requires less boilerplate code than the
CompositeHandler class for setting expectations on
mocks of concrete classes. The user guide has been
trimmed from 33 pages to 20 pages. A reference
guide has been added to the release. Examples use
the recent JMUnit 1.2 Ant tasks for running tests
as part of the build.

2008-06-10 18:24
1.4

이 릴리스는 그 기대와 연관될 수 IArgumentMatcher 인터페이스를 추가합니다. 인수 matcher는 예상과 실제 논증 모의 객체의 메소드를 호출에 전달 정확한지 확인하는 데 사용됩니다. 이제 샘플 응용 프로그램 JMUnit 예제 이외에 J2MEUnit 예를 들어이 포함되어있습니다. HammockMaker 예를 들어이 향상되었습니다. 사용자 안내서 해먹의 내부 프레임 워크의 핵심 클래스에 대한 설명하는 섹션을 포함합니다. JSR211 (CHAPI) 인터페이스의 망신시켰습니다 추가되었습니다.
This release adds an IArgumentMatcher interface that can be associated with an expectation. The argument matcher is used to verify that the expected and actual arguments passed in a mock object's method invocation are correct. The sample applications now include a J2MEUnit example in addition to the JMUnit examples. The HammockMaker example has been improved. The user guide includes a section on Hammock's internals describing the core classes of the framework. Mocks of the JSR211 (CHAPI) interfaces have been added.

Project Resources