PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/Core/KSTicketStoreTest.h

http://macfuse.googlecode.com/
C++ Header | 36 lines | 13 code | 5 blank | 18 comment | 0 complexity | 2c2f2268614918fee112c6b6504849a5 MD5 | raw file
 1// Copyright 2008 Google Inc.
 2//
 3// Licensed under the Apache License, Version 2.0 (the "License");
 4// you may not use this file except in compliance with the License.
 5// You may obtain a copy of the License at
 6//
 7//     http://www.apache.org/licenses/LICENSE-2.0
 8//
 9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#import <SenTestingKit/SenTestingKit.h>
16
17@class KSTicketStore;
18
19// Tests a KSTicketStore instance. This test case may be subclassed to enable
20// testing of KSTicketStore subclasses. Subclasses should override -setUp and
21// assign a value to the |store_| ivar, then call through to [super setUp].
22// Subclasses should also override -tearDown to do any necessary cleanup.
23// Subclasses do NOT need to call through to [super tearDown].
24@interface KSTicketStoreTest : SenTestCase {
25 @protected
26  KSTicketStore *store_;
27}
28
29- (void)testTicketStore;
30- (void)testTicketRetrieval;
31- (void)testUniqueness;
32- (void)testEncodeDecode;
33- (void)testQuerying;
34- (void)testLocking;
35
36@end