remove nolint from size tests

BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/930009

git-svn-id: http://libyuv.googlecode.com/svn/trunk@463 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
fbarchard@google.com 2012-11-02 00:36:33 +00:00
parent 2cb7e512ee
commit daed763fd3
3 changed files with 18 additions and 13 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 455
Version: 463
License: BSD
License File: LICENSE

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 455
#define LIBYUV_VERSION 463
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT

View File

@ -8,9 +8,6 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <stdlib.h>
#include <string.h>
#include "../unit_test/unit_test.h"
#include "libyuv/basic_types.h"
@ -27,14 +24,22 @@ TEST_F(libyuvTest, Endian) {
}
TEST_F(libyuvTest, SizeOfTypes) {
EXPECT_EQ(1u, sizeof(int8)); // NOLINT Using sizeof(type)
EXPECT_EQ(1u, sizeof(uint8)); // NOLINT
EXPECT_EQ(2u, sizeof(int16)); // NOLINT
EXPECT_EQ(2u, sizeof(uint16)); // NOLINT
EXPECT_EQ(4u, sizeof(int32)); // NOLINT
EXPECT_EQ(4u, sizeof(uint32)); // NOLINT
EXPECT_EQ(8u, sizeof(int64)); // NOLINT
EXPECT_EQ(8u, sizeof(uint64)); // NOLINT
int8 i8;
uint8 u8;
int16 i16;
uint16 u16;
int32 i32;
uint32 u32;
int64 i64;
uint64 u64;
EXPECT_EQ(1u, sizeof(i8));
EXPECT_EQ(1u, sizeof(u8));
EXPECT_EQ(2u, sizeof(i16));
EXPECT_EQ(2u, sizeof(u16));
EXPECT_EQ(4u, sizeof(i32));
EXPECT_EQ(4u, sizeof(u32));
EXPECT_EQ(8u, sizeof(i64));
EXPECT_EQ(8u, sizeof(u64));
}
TEST_F(libyuvTest, SizeOfConstants) {