Labels

Monday, June 29, 2009

My Prince in the winners list - Ornament Day at School

Hi,

 

My ‘Prince’ is first runner up in the ‘Ornament Day’ competition held at his school – Challenger on 26th June 2009.

This is the first time he appeared in any competition. The credit goes to his Mumma.

 

I’m very excited to see him going school and winning the prize in just 19th day since session inception (08June 2009).

Congrats J

 

Thanks & Regards,

Arun Manglick || Senior Tech Lead

 

 

Wednesday, June 24, 2009

Unit Testing || Assert

Introduction

 

Assert verifies conditions in unit tests using true/false propositions.

The Assert type exposes the following members.

 

 

Name

Description

Public methodStatic member

AreEqual

Overloaded. Verifies that specified values are equal.

Public methodStatic member

AreNotEqual

Overloaded. Verifies that specified values are not equal.

Public methodStatic member

AreNotSame

Overloaded. Verifies that specified object variables refer to different objects.

Public methodStatic member

AreSame

Overloaded. Verifies that specified object variables refer to the same object.

Public methodStatic member

Equals

Do not use this method.

Public methodStatic member

Fail

Overloaded. Fails an assertion without checking any conditions.

Public methodStatic member

Inconclusive

Overloaded. Indicates that an assertion cannot be proven true or false. Also used to indicate an assertion that has not yet been implemented.

Public methodStatic member

IsFalse

Overloaded. Verifies that a specified condition is false.

Public methodStatic member

IsInstanceOfType

Overloaded. Verifies that a specified object is an instance of a specified type.

Public methodStatic member

IsNotInstanceOfType

Overloaded. Verifies that a specified object is not an instance of a specified type.

Public methodStatic member

IsNotNull

Overloaded. Verifies that a specified object is not nullNothingnullptra null reference (Nothing in Visual Basic).

Public methodStatic member

IsNull

Overloaded. Verifies that a specified object is null.

Public methodStatic member

IsTrue

Overloaded. Verifies that a specified condition is true.

Public methodStatic member

ReplaceNullChars

In a string, replaces null characters ('\0') with "\\0".

 

 

 

Hope this helps.

 

Thanks & Regards,

Arun Manglick || Senior Tech Lead

 

 

Unit Testing || Assert

Introduction

 

Assert verifies conditions in unit tests using true/false propositions.

The Assert type exposes the following members.

 

 

Name

Description

Public methodStatic member

AreEqual

Overloaded. Verifies that specified values are equal.

Public methodStatic member

AreNotEqual

Overloaded. Verifies that specified values are not equal.

Public methodStatic member

AreNotSame

Overloaded. Verifies that specified object variables refer to different objects.

Public methodStatic member

AreSame

Overloaded. Verifies that specified object variables refer to the same object.

Public methodStatic member

Equals

Do not use this method.

Public methodStatic member

Fail

Overloaded. Fails an assertion without checking any conditions.

Public methodStatic member

Inconclusive

Overloaded. Indicates that an assertion cannot be proven true or false. Also used to indicate an assertion that has not yet been implemented.

Public methodStatic member

IsFalse

Overloaded. Verifies that a specified condition is false.

Public methodStatic member

IsInstanceOfType

Overloaded. Verifies that a specified object is an instance of a specified type.

Public methodStatic member

IsNotInstanceOfType

Overloaded. Verifies that a specified object is not an instance of a specified type.

Public methodStatic member

IsNotNull

Overloaded. Verifies that a specified object is not nullNothingnullptra null reference (Nothing in Visual Basic).

Public methodStatic member

IsNull

Overloaded. Verifies that a specified object is null.

Public methodStatic member

IsTrue

Overloaded. Verifies that a specified condition is true.

Public methodStatic member

ReplaceNullChars

In a string, replaces null characters ('\0') with "\\0".

 

 

 

Hope this helps.

 

Thanks & Regards,

Arun Manglick || Senior Tech Lead